import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

import React, { useEffect } from 'react'

const Index: React.FC = () => {
	useEffect(() => {
		NProgress.start();

		return () => {
			NProgress.done()
		}
	}, [])
	return <></>
}

export default Index